/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package adressbook;

import Model.Contact;
import java.util.ArrayList;

/**
 *
 * @author Martin LEGRIS
 */
public class Initialisation {
    
    public static void init(ArrayList<Contact> myContacts){
        String[] data = new String[14];
        data[0]="Martin";
        data[1]="LEGRIS";
        data[2]="21 bis rue de la Paix, 10 000 TROYES";
        data[3]="JEECE, 37 Quai de Grenelle, 75 015 Paris";
        data[4]="06 80 78 59 55";
        data[5]="03 25 73 49 36";
        data[6]="";
        data[7]="01 45 49 19 99";  
        data[8]="www.jeece.fr";
        data[9]="president@jeece.fr";
        data[10]="legris007@gmail.com";
        data[11]="XX";
        data[12]="XX";
        data[13]="C:\\Users\\Martin\\Documents\\Cours\\JAVA_Avance\\AdressBook\\linkedIn.jpg";
        Contact newContact = new Contact(data);
        myContacts.add(newContact);
        
        String[] data2 = new String[14];
        data2[0]="Paul";
        data2[1]="DUPONT";
        data2[2]="21 bis rue de la Paix, 10 000 TROYES";
        data2[3]="JEECE, 37 Quai de Grenelle, 75 015 Paris";
        data2[4]="06 80 78 59 55";
        data2[5]="03 25 73 49 36";
        data2[6]="";
        data2[7]="01 45 49 19 99";  
        data2[8]="XX";
        data2[9]="president@jeece.fr";
        data2[10]="legris007@gmail.com";
        data2[11]="XX";
        data2[12]="XX";
        data2[13]="XX";
        Contact newContact2 = new Contact(data2);
        myContacts.add(newContact2);
        
    }
    
}
